import { IsNotEmpty, IsInt, IsNumber } from 'class-validator'

export class QueryCategoryDto {
  title: string
  @IsNotEmpty({ message: '分页参数不能为空' })
  pageNo: number

  @IsNotEmpty({ message: '分页参数不能为空' })
  pageSize: number
}
